package com.guigu.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.erp.pojo.DesignFile;
import com.guigu.erp.utils.PageUtils;
import com.guigu.erp.vo.DesignFileVo;

/**
 * ClassName:DesignFileService
 * Package:com.guigu.erp.service
 * Description:
 *
 * @Date:2024/2/21 19:12
 * @Author:chenchong
 */
public interface DesignFileService extends IService<DesignFile> {

    /**
     * 按条件分页查询产品档案
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<DesignFile> page(DesignFileVo vo, int pageSize, int pageNo);
    /**
     * 按条件分页查询产品档案
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<DesignFile> page1(DesignFileVo vo, int pageSize, int pageNo);
    /**
     * 按条件分页查询产品档案
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<DesignFile> page2(DesignFileVo vo, int pageSize, int pageNo);

    /**
     * 按条件分页查询未制定物料设计单的产品档案
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<DesignFile> unmakePage(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 查询没审核数据
     * @return
     */
    PageUtils<DesignFile> designReview1(int pageNo, int pageSize);

    /**
     * 获取Id最大产品档案的产品编号的流水号
     * @return
     */
    String getMaxFlowNumber();


    PageUtils<DesignFile> moduleFileList(DesignFileVo vo, int pageNo, int pageSize);
    PageUtils<DesignFile> moduleFileList2(DesignFileVo vo, int pageNo, int pageSize);

    /**
     * 按条件分页查询未制定工序设计单的产品档案
     * @param vo
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<DesignFile> unmakePage1(DesignFileVo vo, int pageNo, int pageSize);

}
